﻿namespace Service.RoleInfos
{
    public interface IRoleService
    {
        RestFull<RoleDto> Query();

        RestFull<RoleDto> Insert(RoleDto roleDto);
        RestFull QueryFirst(int id);
        RestFull<RoleDto> Update(RoleDto roleDto);
        RestFull Delete(int id);
    }
}